<?php

namespace app\model;

class MidTypeModel extends \think\Model
{
    protected $table = "中图分类";
    protected $pk = "classifyId";

    public function getAllMidTypes()
    {
        return self::field(['name', 'classifyId', 'introduction'=>'value'])->select();
    }

}